package com.zut.demo1.service.impl;

import com.zut.demo1.dao.ImgMapper;
import com.zut.demo1.model.Img;
import com.zut.demo1.model.ImgExample;
import com.zut.demo1.service.ImgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ImgServiceImpl implements ImgService {

    @Autowired
    private ImgMapper imgMapper;



    @Override
    public int getcount1(Img img) {

        return imgMapper.selectCount1(img);  //总人数
    }

    @Override
    public int getcount2(Img img) {

        return imgMapper.selectCount2(img);
    }

    @Override
    public int getcount3(Img img) {

        return imgMapper.selectCount3(img);
    }
}
